package com.ruoyi.project.drug.service;

import com.ruoyi.project.drug.domain.Drug;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Classname DrugService
 * @Description
 * @Date 2022/6/28 19:51
 * @Author Lee
 */
public interface IDrugService {
    List<Drug> selectDrugList(Drug drug);

    int insertDrug(Drug drug);

    int updateDrug(Drug drug);

    int batchDelete(@Param("durgIds") Integer[] durgIds);

    Drug getDrugById(Integer id);

    List<Drug> selectBySupportId(Integer supportId);
}
